﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectSplitProject.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Project.SelectSplitProject" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>选择项目</title>
    <script type="text/javascript" src="../../Scripts/jquery-1.6.min.js"></script>
    <script language="javascript" type="text/javascript" src="../../Scripts/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../../Scripts/control.js"></script>
    <link href="../../Styles/easyui.css" rel="stylesheet" type="text/css" />
    <link href="../../Styles/icon.css" rel="stylesheet" type="text/css" />   
    <link href="../../Styles/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
     <div class="query_area">
        项目类别：<asp:DropDownList ID="ddlProjectCategory" runat="server" cssClass="input2" ></asp:DropDownList>&nbsp;&nbsp;
		项目代码：<asp:TextBox ID="txtCode" runat="server"  cssClass="input2" MaxLength="200"></asp:TextBox>&nbsp;&nbsp;
		编号：<asp:TextBox ID="txtSN" runat="server"  cssClass="input2" MaxLength="200"></asp:TextBox>&nbsp;&nbsp;		
		项目名称：<asp:TextBox ID="txtName" runat="server"  cssClass="input2" MaxLength="200"></asp:TextBox>
        <asp:Button runat="server" ID="btnQuery" Text="查 找" CssClass="btn_normal" 
			onMouseOver="this.className='btn_active'" 
            onMouseOut="this.className='btn_normal'" OnClick="btnQuery_Click" />
    </div>            
    <table cellpadding="0" width="100%" cellspacing="0" border="1" class="t1" id="tGrid">
		<thead>  
            <th align="center" width="30px">
                <input type="checkbox" name="chkAll" value="checkbox" onclick='javascript:checkAll(this,"chkID")' />
            </th>
            <th align="center"  width="80px">项目类别</th>
            <th align="center"  width="100px">项目代码</th>
            <th align="center" width="50px">编号</th>
            <th align="center">项目名称</th>
            <th align="center" width="60px">建设性质</th>
            <th align="center" width="60px">项目阶段</th>
      	</thead>           
		<asp:Repeater runat="server" ID="rptList">
			<ItemTemplate>
				<tr>
					<td align="center" >
						<input type="checkbox" name="chkID" id="chk<%# DataBinder.Eval(Container.DataItem,"ID") %>"  value="<%# DataBinder.Eval(Container.DataItem,"ID") %>" >
					</td>
                    <td><%# Honestysoft.DictionaryHelper.DictionaryInstance.GetDictionaryText(DataBinder.Eval(Container.DataItem,"ProjectCategory")+"") %></td>
					<td><%#  DataBinder.Eval(Container.DataItem,"Code") %></td>
					<td><%#  DataBinder.Eval(Container.DataItem,"SN") %></td>					
					<td align="left"><%# DataBinder.Eval(Container.DataItem,"Name") %></td>
					<td><%# Honestysoft.EnumHelper.EnumInstance.GetEnumDataText(DataBinder.Eval(Container.DataItem,"ConType")+"") %></td>
					<td><%# Honestysoft.EnumHelper.EnumInstance.GetEnumDataText(DataBinder.Eval(Container.DataItem,"ProjectPhase")+"") %></td>
					</tr>  
			</ItemTemplate>
		</asp:Repeater>
        <tr>
            <td colspan="7" style="line-height: 28px;text-align:left;">
                <frameworkwebcontrols:aspnetpager id="AspNetPager1" runat="server"
                    alwaysshow="true" firstpagetext="首页" lastpagetext="尾页" nextpagetext="下一页" pageindexboxtype="DropDownList"
                    prevpagetext="上一页" showpageindex="true" showcustominfosection="Right" submitbuttontext="Go"
                    textafterpageindexbox="页" textbeforepageindexbox="转到" currentpagebuttonposition="End"
                    layouttype="Div" custominfotextalign="Right" custominfohtml="共%RecordCount%条记录。第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                    direction="LeftToRight" onpagechanged="AspNetPager1_PageChanged">
                </frameworkwebcontrols:aspnetpager>            
            </td>
        </tr>
    </table>

    <table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td align="center">
        
        <asp:Button ID="btnSave" Text = "确定" runat="server" class="btn_normal" 
            onmouseover="this.className='btn_active'" 
            onmouseout="this.className='btn_normal'" onclick="btnSave_Click"    />
        <asp:Button ID="btnExit" Text = "退出" runat="server" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'"  OnClientClick="window.close();" />
    </td>
  </tr>
</table>

    </form>
</body>
</html>
